﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;

namespace DWF.Studio.V8Communicator.Messages
{
    public class V8DebuggerEvent<T>: V8DebuggerEvent where T: new()
    {  
        [JsonProperty("params")]
        public T EventParameters { get; set; }
    }

    public class V8DebuggerEvent
    {
        [JsonProperty("method")]
        public string MethodName { get; set; }
    }
}